import { createI18n } from "vue-i18n"
import en from "@/assets/languages/en-US.json"
import zh from "@/assets/languages/zh-CN.json"

const i18n = createI18n({
    legacy: false,
    locale: 'zh-CN',
    fallbackLocale: 'en',
    messages: {
        zh: zh,
        en: en
    }
})

export default i18n